package com.zack.gank.gankandroid.utils;

/**
 * Created by Administrator on 2017/7/16 0016.
 */

public class StringUtils {


    public static String number="20";
    public static String imagenumber="10";
    /**
     * 字母替换空格 时间
     * @param str
     * @return
     */
    public static String repleaceLetterTime(String str){
        String strs=null;
         String reg = "[a-zA-Z]";
         strs=str.replaceAll(reg," ");
        return strs.substring(0,strs.lastIndexOf("."));
    }
}
